home *** CD-ROM | disk | FTP | other *** search
- ; Charon update script 1.2 (19.4.2000)
- ;
- ; ©2000 Andrija Antonijevic
- ;
-
- (complete 0)
-
- (message "This script will update Charon v1.1 to v1.2. Do NOT use this "
- "script to update any other version to v1.2. If you have any "
- "version lower than 1.1, abort the installation and either find "
- "older Charon distributions and update to v1.1 step by step and "
- "then use this script to update it to v1.2, or reinstall Charon "
- "using Install_Charon script. Do note that in the latter case "
- "Charon_key.library will be overwritten by demo version, so "
- "if you have registered Charon, please back up your key file "
- "before reinstalling Charon."
- )
-
- (set #source-dir
- (if (= 1 (exists @icon))
- (pathonly (expandpath @icon))
- ;else
- (expandpath @icon)
- )
- )
-
- (set @default-dest
- (askdir
- (prompt "Please select the directory in which Charon executable resides")
- (help @askdir-help)
- (default @default-dest)
- )
- )
-
- (if (not (exists (tackon @default-dest "Charon")))
- (abort "Charon doesn't seem to be installed.")
- )
-
- (complete 25)
-
- (copyfiles
- (source (tackon #source-dir "Doc"))
- (dest (tackon @default-dest "Doc"))
- (infos)
- (all)
- )
-
- (complete 35)
-
- (copyfiles
- (source (tackon #source-dir "Libs/Charon_AmiSSL.library"))
- (dest (tackon @default-dest "Libs"))
- )
-
- (copyfiles
- (source (tackon #source-dir "Libs/Charon_classes.library"))
- (dest (tackon @default-dest "Libs"))
- )
-
- (copyfiles
- (source (tackon #source-dir "Libs/Charon_FTP.library"))
- (dest (tackon @default-dest "Libs"))
- )
-
- (copyfiles
- (source (tackon #source-dir "Libs/Charon_HTTP.library"))
- (dest (tackon @default-dest "Libs"))
- )
-
- (copyfiles
- (source (tackon #source-dir "Libs/Charon_MiamiSSL.library"))
- (dest (tackon @default-dest "Libs"))
- )
-
- (copyfiles
- (source (tackon #source-dir "Libs/Charon_search.library"))
- (dest (tackon @default-dest "Libs"))
- )
-
- (copyfiles
- (source (tackon #source-dir "Libs/Charon_utility.library"))
- (dest (tackon @default-dest "Libs"))
- )
-
- (complete 75)
-
- (copyfiles
- (source (tackon #source-dir "Charon"))
- (dest @default-dest)
- )
-
- (delete "ENVARC:CharonTime" force)
-
- (complete 100)
-
- (exit "Charon installation updated successfully. Enjoy using Charon!")
-